VSeed, an elegant data composer, transforming complexity into simplicity.
!!!###!!!title=192-How can I customize colors based on data values in a map chart——VisActor/VChart FAQ documents!!!###!!!
How can I customize colors based on data values in a map chart?
Question Description
How can I customize the rules for map color in vchart demo? The configuration in the example does not meet my needs: When the value falls within a certain range, I want to display a specific color.
Solution
In VChart, you can achieve your requirement by configuring the fill attribute in the mark style callback function. For example: